package cn.sytton.taffe.excel.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 分页导出Excel参数类
 *
 * @author skyrock
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExcelParam {
    private int start = 1;
    private int end = 50;
    private String name = "导出数据";
    private Map<String, Map<String, ExcelFormat>> format = new HashMap<>();
    private List<ExcelField> fields = new ArrayList<>();
}
